import { createStore, applyMiddleware } from 'redux'
import { combineReducers } from 'redux-immutable'
import thunk from 'redux-thunk'
import app from './modules/app.js'
import user from './modules/user.js'

const reducer = combineReducers({
    app, user
})

const store = createStore(reducer, applyMiddleware( thunk ))

export default store